package com.wf.demo.info.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class AdminPageController {
    @GetMapping(value="/admin")
    public String admin(){
        return "redirect:admin_model_list";    //客户端跳转
    }
    @GetMapping(value="/admin_model_list")
    public String listModel(){
        return "admin/listModel";               //服务端跳转到界面机型list
    }
    @GetMapping(value="/admin_model_edit")
    public String editModel(){
        return "admin/editModel";
    }
    @GetMapping(value = "/admin_parse_list")
    public String listParse(){
        return "admin/listParse";               //服务端跳转到界面数据解析配置list
    }
    @GetMapping(value = "/admin_company_list")
    public String listCompany(){
        return "admin/listCompany";            //跳到公司list界面
    }
    @GetMapping(value = "/admin_company_edit")
    public String editCompany(){
        return "admin/editCompany";            //跳到公司edit界面
    }
    @GetMapping(value = "/admin_device_list")
    public String listDevice(){
        return "admin/listDevice";            //跳到公司下的设备list界面
    }
    @GetMapping(value = "/admin_device_edit")
    public String editDevice(){
        return "admin/editDevice";            //跳到公司下的设备edit界面
    }


}